package com.rpc.core.holder.transmit;

import java.io.Serializable;

public class Request implements Serializable {

    private int id;
    //name:version#method
    private String key;
    private Object[] args ;

    public Request() {
    }

    public Request(int id) {
        this.id = id;
    }

    public Request(int id, String key, Object[] args) {
        this.id=id;
        this.key=key;
        this.args=args;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }
}


